package com.freewater.cargotracker.domain.model.customer;

import com.freewater.cargotracker.domain.model.cargo.TrackingId;

import java.util.Map;

public interface CustomerRepository {

    void save(Customer customer);

    Customer findByCustomerNo(CustomerNo customerNo);

    Customer findByName(String name);

    Map<Role, Customer> findCustomersOfCargo(TrackingId trackingId);
}
